package com.liming.file.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author liming
 * @date 2025/5/21
 */
@FeignClient(value = "file-service", contextId = "LocalFileClient", path = "/service/local_file")
public interface LocalFileClient {

    @GetMapping("{fileName}")
    void getFileByName(@PathVariable String fileName);
}
